package com.example.cqh_votesys.mapper;

import com.example.cqh_votesys.pojo.DTO.RegisterDTO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RegisterMapper {

    @Insert("insert into user (email, password) value(#{email},#{password})")
    void add(RegisterDTO registerDTO);
}
